﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NotificationAction.cs" company="YellowFish">
//   Copyright © YellowFish 2009
// </copyright>
// <summary>
//   Specifies the action to take when a notification event occurs.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System;
using Diagnostics.Annotations;

namespace MobilePal.WindowsNative.Notification
{
  /// <summary>
  /// Specifies the action to take when a notification event occurs.
  /// </summary>
  [UsedImplicitly(ImplicitUseFlags.IncludeMembers)]
  [Flags]
  public enum NotificationAction
  {
    /// <summary>
    /// Displays the user notification dialog box.
    /// </summary>
    Dialog = 4, 

    /// <summary>
    /// Flashes the LED.
    /// </summary>
    Led = 1, 

    /// <summary>
    /// Dialog box z-order flag.
    /// Set if the notification dialog box should come up behind the password.
    /// </summary>
    Private = 0x20, 

    /// <summary>
    /// Repeats the sound for 10–15 seconds.
    /// </summary>
    Repeat = 0x10, 

    /// <summary>
    /// Plays the sound specified.
    /// </summary>
    Sound = 8, 

    /// <summary>
    /// Vibrates the device.
    /// </summary>
    Vibrate = 2
  }
}